package org.bocs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.bocs.entity.Orders;
import org.bocs.entity.OrdersVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrdersDao extends BaseMapper<Orders> {

    public List<OrdersVO> selectOrders(@Param("userId") String userId,
                                       @Param("status") String status,
                                       @Param("start") int start,
                                       @Param("limit") int limit);

}
